﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace RockCompany.Master.DTO
{
    public class WorkOrderDTO
    {
        public WorkOrderDTO() { }

        public WorkOrderDTO(string lotNo)
        {
            this.LotNo = lotNo;
        }

        bool mStatus;
        public bool Status
        {
            get { return mStatus; }
            set { mStatus = value; }
        }

        int mWOType;
        public int WOType
        {
            get { return mWOType; }
            set { mWOType = value; }
        }

        // So lan dieu chinh
        int mSoLanDieuChinh;
        public int SoLanDieuChinh
        {
            get { return mSoLanDieuChinh; }
            set { mSoLanDieuChinh = value; }
        }

        //So lo ban dau
        string mOrigianlLotNo;

        public string OrigianlLotNo
        {
            get { return mOrigianlLotNo; }
            set { mOrigianlLotNo = value; }
        }

        string mProductNo;

        public string ProductNo
        {
            get { return mProductNo; }
            set { mProductNo = value; }
        }

        // Lot no
        string mLotNo;

        public string LotNo
        {
            get { return mLotNo; }
            set { mLotNo = value; }
        }

        DateTime mProductionDate;

        public DateTime ProductionDate
        {
            get { return mProductionDate; }
            set { mProductionDate = value; }
        }

        // Total
        double mTotal;
        public Double Total
        {
            get { return mTotal; }
            set { mTotal = value; }
        }

        //Do Sang S va N
        double mDoSangS;

        public double DoSangS
        {
            get { return mDoSangS; }
            set { mDoSangS = value; }
        }

        Double mDoSangN;

        public Double DoSangN
        {
            get { return mDoSangN; }
            set { mDoSangN = value; }
        }

        //Mau S va N
        Double mMauS;

        public Double MauS
        {
            get { return mMauS; }
            set { mMauS = value; }
        }

        double mMauN;

        public double MauN
        {
            get { return mMauN; }
            set { mMauN = value; }
        }

        // Do mau S va N
        double mDoMauS;

        public double DoMauS
        {
            get { return mDoMauS; }
            set { mDoMauS = value; }
        }

        double mDoMauN;

        public double DoMauN
        {
            get { return mDoMauN; }
            set { mDoMauN = value; }
        }

        // So E
        string mSoE;
        public string SoE
        {
            get { return mSoE; }
            set { mSoE = value; }
        }

        // Tong so luong nhap kho
        string mTongSLNK;
        public string TongSLNK
        {
            get { return mTongSLNK; }
            set { mTongSLNK = value; }
        }

        // Hieu suat
        double mHieuSuat;
        public double HieuSuat
        {
            get { return mHieuSuat; }
            set { mHieuSuat = value; }
        }

        // SLTonAnToan
        double mSLTonAnToan;
        public double SLTonAnToan
        {
            get { return mSLTonAnToan; }
            set { mSLTonAnToan = value; }
        }

        // Tong tien
        double mTongTien;
        public double TongTien
        {
            get { return mTongTien; }
            set { mTongTien = value; }
        }

        // Ngay nhap kho
        string mNgayNK;
        public string NgayNK
        {
            get { return mNgayNK; }
            set { mNgayNK = value; }
        }

        // Material involved Raw Material, Product, Semi-product
        DataTable mMaterialList;
        public DataTable MaterialList
        {
            get { return mMaterialList; }
            set { mMaterialList = value; }
        }
    }
}
